#ifndef SEQIOT_IEC10X_ACQUIRE_H
#define SEQIOT_IEC10X_ACQUIRE_H

#include "model.h"

//IEC60870-101
//IEC60870-103
typedef void (*iec60870_apdu_handler)(void/*apdu_t*/ *apdu, channel_t *channel, device_t *device);

void sched_iec60870_device(channel_t *channel, device_t *device, iec60870_apdu_handler handler);

void sched_iec60870(channel_t *channel, seqiot_t *seqiot, iec60870_apdu_handler handler);

#endif //SEQIOT_IEC10X_ACQUIRE_H
